<script lang="ts" setup>
import Template1 from '@/common/components/popup-template/pc/template1.vue';
import Template2 from '@/common/components/popup-template/pc/template2.vue';

const props = defineProps({
  template: {
    type: Number,
    default: 1,
  },
  title: {
    type: String,
    default: '',
  },
  des: {
    type: String,
    default: '',
  },
  pic: {
    type: String,
    default: '',
  },
});
</script>

<template>
  <div>
    <Template1 v-if="template === 1" :title="props.title" :des="props.des" :pic="props.pic" :cursor="false" />
    <Template2 v-else :des="props.des" :pic="props.pic" :cursor="false" />
  </div>
</template>

<style scoped lang="scss">
</style>
